using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Easy.Geo.Kml
{
    public class ColorStyle : Object 
    {
        public ColorStyle(string color)
        {
            this._color = color;
            this._colorMode = Easy.Geo.Kml.ColorMode.Normal;
        }
        public ColorStyle():base()
        {
            //this._colorMode = Easy.Geo.Kml.ColorMode.Normal;
        }
        private string _color;
        [XmlElement(ElementName = "color")]
        public string Color
        {
            get { return _color; }
            set { _color = value; }
        }
        private ColorMode _colorMode;
        [XmlElement(ElementName = "colorMode")]
        public ColorMode ColorMode
        {
            get { return _colorMode; }
            set { _colorMode = value; }
        }
    }
}
